package com.ljq.ioc.model;

public class F {

    A a;

    public F() {
    }

    public F(A a) {
        this.a = a;
    }

    public void printF(){
        System.out.print("在F类方法中");
        a.BMethod();
    }
}
